package com.wonders.frame.entity.form;


import com.wonders.frame.entity.form.common.Form;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class AuthOrgaForm extends Form {

    private String id;

    private String orgaName;

    private String parentId;

    private String orgaCode; //机构代码

    private String orgaArea;//机构地区代码(add)

    private String simplename;//简称(add)

    private String orgaType;//机构类型

    private Integer seq;//机构序号

    private String orgaSerachindex;//机构检索

    private String memo;//备注

    private String creditid;//统一信用代码(add)

    private String filepath;//证件附件

    private String filepath2;

    private String orgaAreas;//详细区划代码逗号拼接

    private String orgaProperty;//机构属性

    private String orgaShow;//机构是否展示（飞防组织查询 y  n ）

    private String orgaFunction;//职能


    private String crtUser;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date crtDate;

    private Integer removed;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrgaName() {
        return orgaName;
    }

    public void setOrgaName(String orgaName) {
        this.orgaName = orgaName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getRemoved() {
        return removed;
    }

    public void setRemoved(Integer removed) {
        this.removed = removed;
    }

    public String getOrgaCode() {
        return orgaCode;
    }

    public void setOrgaCode(String orgaCode) {
        this.orgaCode = orgaCode;
    }

    public String getOrgaArea() {
        return orgaArea;
    }

    public void setOrgaArea(String orgaArea) {
        this.orgaArea = orgaArea;
    }

    public String getSimplename() {
        return simplename;
    }

    public void setSimplename(String simplename) {
        this.simplename = simplename;
    }

    public String getOrgaType() {
        return orgaType;
    }

    public void setOrgaType(String orgaType) {
        this.orgaType = orgaType;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getOrgaSerachindex() {
        return orgaSerachindex;
    }

    public void setOrgaSerachindex(String orgaSerachindex) {
        this.orgaSerachindex = orgaSerachindex;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getCreditid() {
        return creditid;
    }

    public void setCreditid(String creditid) {
        this.creditid = creditid;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getCrtUser() {
        return crtUser;
    }

    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }

    public Date getCrtDate() {
        return crtDate;
    }

    public void setCrtDate(Date crtDate) {
        this.crtDate = crtDate;
    }

    public String getOrgaAreas() {
        return orgaAreas;
    }

    public void setOrgaAreas(String orgaAreas) {
        this.orgaAreas = orgaAreas;
    }

    public String getOrgaProperty() {
        return orgaProperty;
    }

    public void setOrgaProperty(String orgaProperty) {
        this.orgaProperty = orgaProperty;
    }
    public String getFilepath2() {
        return filepath2;
    }

    public void setFilepath2(String filepath2) {
        this.filepath2 = filepath2;
    }

    public String getOrgaShow() {
        return orgaShow;
    }

    public void setOrgaShow(String orgaShow) {
        this.orgaShow = orgaShow;
    }

    public String getOrgaFunction() {
        return orgaFunction;
    }

    public void setOrgaFunction(String orgaFunction) {
        this.orgaFunction = orgaFunction;
    }

    @Override
    public String toString() {
        return "AuthOrgaForm{" +
                "id='" + id + '\'' +
                ", orgaName='" + orgaName + '\'' +
                ", parentId='" + parentId + '\'' +
                ", orgaCode='" + orgaCode + '\'' +
                ", orgaArea='" + orgaArea + '\'' +
                ", simplename='" + simplename + '\'' +
                ", orgaType='" + orgaType + '\'' +
                ", seq=" + seq +
                ", orgaSerachindex='" + orgaSerachindex + '\'' +
                ", memo='" + memo + '\'' +
                ", creditid='" + creditid + '\'' +
                ", filepath='" + filepath + '\'' +
                ", filepath2='" + filepath2 + '\'' +
                ", orgaAreas='" + orgaAreas + '\'' +
                ", crtUser='" + crtUser + '\'' +
                ", crtDate=" + crtDate +
                ", removed=" + removed +
                '}';
    }
}
